lib_spdif: S/PDIF transmitter and receiver

FAVOURITE VERSION RELEASED COMMENTS DOCUMENTATION SOFTWARE
7.0.0 2025-10-08 Adds support for transmitting IEC 60958-4 professional applications channel status block. Also adds support for transmitting 16, 20 or 24-bit data, with run-time configuration. VIEW HTML VIEW PDF ZIP
View older versions
6.2.1 2024-11-06 ZIP ZIP
2.0.2rc2 2016-08-02 PDF ZIP
2.0.1rc1 2016-01-07 PDF ZIP
INFO

Summary

S/PDIF (Sony/Philips Digital Interface) is a standard for transmitting digital audio signals over relatively short distances between devices. It was developed by Sony and Philips and is used to carry high-quality digital audio without the need for analog conversion, maintaining the integrity of the audio signal.

S/PDIF can carry two channels of uncompressed PCM (Pulse Code Modulation) audio or over Optical (TOSLINK) or Coaxial transmission mediums.

lib_spdif provides software defined S/PDIF implementation that allows transmission and reception of S/PDIF data via xcore ports.

Features

  • Supports stereo S/PDIF receive for sample rates up to 192KHz

  • Supports stereo S/PDIF transmit for sample rates up to 192KHz

  • Fully compliant to the IEC60958 specification. Supports professional (i.e. AES3) and consumer variants

  • Supports audio sample word lengths of 16, 20 or 24 bits

Known issues

  • Transmitter has no way of setting user or validity bits (#55)

Development repo

Required tools

  • XMOS XTC Tools: 15.3.1

Required libraries (dependencies)

  • None

Support

This package is supported by XMOS Ltd. Issues can be raised against the software at: http://www.xmos.com/support

Scroll to Top
Secret Link